<?php 

?>
<?php if (!$this->isSuccess): ?>
	<div style="width: 400px; height: 300px; padding: 20px;">
		<?php echo $this->form->setAttrib('id', 'admin_exam_category_delete')->setAttrib('class', 'global_form_popup'); ?>
	</div>
<?php else: ?>
	<script type="text/javascript">		
		parent.changeTreeSelected('<?php echo $this->parentId ?>');
		setTimeout(function()
			{
			        parent.Smoothbox.close();				      
			}, 1000);
	</script>
	<div class="global_form_popup_message" style="padding: 5px;">
		<?php echo $this->translate('This category was deleted.'); ?>
    </div>
<?php endif; ?>